<template>
	<!-- 这个是Seafile的共享 -->
	<div>
		<h1>共享</h1>

	</div>
</template>

<script>
	import axios from "axios"
	export default {
		mounted() {
			// 获取共享列表
			var Token = window.localStorage.getItem("Token")
			axios({
				url: "https://cloud.seafile.com/api2/shared-repos/",
				method: "get",
				headers: {
					Authorization: "Token " + Token,
					Accept: " application/json; indent=4"
				}
			}).then((res) => {
				console.log(res)
			})
		}
	}
</script>

<style>
</style>
